<%--
  Created by IntelliJ IDEA.
  User: 12700
  Date: 2025/9/4
  Time: 8:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>物流员中心</title>
    <link rel="stylesheet" href="../../css/couriersstatus.css">
    <script type="text/javascript" src="../../js/jquery-1.8.3.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var username = localStorage.getItem('savedUsername');
            $("<img src='../../images/touxiang.png'><p>"+username+"</p>").appendTo(".admincontroller");
            var name = localStorage.getItem('savedUsername');
            $.get("../../couriers/showstatus",{"name":name},function (arrayList) {
                $(" <div><p>当前配送包裹数:</p><p>"+arrayList[0]+"</p></div>\n" +
                    "<div><p>已完成配送包裹数:</p><p>"+arrayList[1]+"</p></div>").appendTo("#botcenter")
            });
            $("[value='退出登录']").click(function () {
                window.location.href="../../index.jsp";
            });
        });

    </script>
</head>
<body>
<div class="head">
    <div class="icon"><img src="../../images/logo.png"></div>
    <div class="admin">
        <div class="admincontroller"></div>
        <div class="adminshow">
            <div><b>个人中心</b></div>
            <div><b>更多通知</b></div>
            <div><input type="button" value="退出登录"></div>
        </div>
    </div>
</div>
<div class="body">
    <div class="body-left">
        <img src="../../images/adv.jpg">
    </div>
    <div class="body-right">
        <div class="label">
            <div class="label-bar">
                <a href="Couriers.jsp"><div class="unselected">物流员信息管理</div></a>
                <a href="couriersstatus.jsp"><div class="selected">配送任务管理</div></a>
                <a href="couriersranking.jsp"><div class="unselected">绩效统计</div></a>
            </div>
            <div class="label-box">
                <div class="bot">
                    <div>
                        <b>配送任务管理</b>
                    </div>
                    <div class="bot-center" id="botcenter">

                    </div>
                    <div class="bot-foot">
                        <a href="courierspackages.jsp"><div>管理任务</div></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
